﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace jqGrid.Models.NorthWind
{
    public interface IOrdersRepository
    {
        int GetOrdersCount();
        IQueryable<Order> GetOrders(string sortExpression, string sortDirection, int pageIndex, int pageSize);
        IQueryable<OrderDetail> GetOrderDetails(int orderId);
    }
}